<template>
    <div class="home">
        <web-home v-if="!isPC"></web-home>
        <h5-home v-else></h5-home>
    </div>
</template>

<script>
    import webHome from '@/components/webHome'
    import h5Home from '@/components/h5Home'
    import { browserInfo } from '@/assets/js/util.js'
    export default {
        name: "home",
        components: {
            webHome,
            h5Home
        },
        data() {
            return {
                // 页面状态
                isPc:false
            }
        },
        created() {
            this.isPC = browserInfo()
        },
        mounted() {

        },
        computed: {},
        methods: {

        },
    }
</script>
<style scoped lang='scss'>
.home{
    width: 100%;
    height: 100%;
}
</style>
